package com.stxx.stiot2.ws.domain;
import lombok.Data;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author Fuzhenlei
 * @date 2025/01/06 10:53
 */
@Data
public class PageMessage {
    private String pageId;
    private List<TerminalData> terminals;
    private List<Query> queries;

    @Data
    public static class TerminalData{
        private String code;
        private Map<String,Object> data;
        private Map<String,String> alarm;
    }
    @Data
    public static class Query {
        private String queryId;
        private Object data;
    }
}
